package com.csun.cmny.provider.model.domain;

import javax.persistence.*;

@Table(name = "cn_dmc_csun_body_sensor_location")
public class DmcCsunBodySensorLocation {
    /**
     * 设备Id
     */
    @Column(name = "device_id")
    private Long deviceId;

    /**
     * 0-自定义, 1-房间
     */
    @Column(name = "bind_type")
    private Integer bindType;

    /**
     * 房间Id
     */
    @Column(name = "room_id")
    private Integer roomId;

    /**
     * 绑定位置
     */
    private String location;

    /**
     * 获取设备Id
     *
     * @return device_id - 设备Id
     */
    public Long getDeviceId() {
        return deviceId;
    }

    /**
     * 设置设备Id
     *
     * @param deviceId 设备Id
     */
    public void setDeviceId(Long deviceId) {
        this.deviceId = deviceId;
    }

    /**
     * 获取0-自定义, 1-房间
     *
     * @return bind_type - 0-自定义, 1-房间
     */
    public Integer getBindType() {
        return bindType;
    }

    /**
     * 设置0-自定义, 1-房间
     *
     * @param bindType 0-自定义, 1-房间
     */
    public void setBindType(Integer bindType) {
        this.bindType = bindType;
    }

    /**
     * 获取房间Id
     *
     * @return room_id - 房间Id
     */
    public Integer getRoomId() {
        return roomId;
    }

    /**
     * 设置房间Id
     *
     * @param roomId 房间Id
     */
    public void setRoomId(Integer roomId) {
        this.roomId = roomId;
    }

    /**
     * 获取绑定位置
     *
     * @return location - 绑定位置
     */
    public String getLocation() {
        return location;
    }

    /**
     * 设置绑定位置
     *
     * @param location 绑定位置
     */
    public void setLocation(String location) {
        this.location = location;
    }
}